package com.wxapp.sale.api.pojo.vo.order;

import com.wxapp.sale.api.enums.order.OrderSourceEnum;
import com.wxapp.sale.api.enums.order.OrderTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lgl
 * @Description 订单基础类
 * @Datetime 2023/1/3 15:26
 * @Modified By
 */
@Data
public class QBaseVo implements Serializable {
    /**
     * 商品id
     */
    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String goodsId;
    /**
     * 购买数量
     */
    @Schema(description = "购买数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer buyNum;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal goodsPrice;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String goodsName;

    @Schema(description = "优惠券id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String CouponId;
}
